package com.training.java.core.staticex;

public class Car {
	
	private static int numbersOfCarCreated;
	private String vin;
	private String make;
	private String model;

	public Car(String vin, String make, String model) {

		this.vin = vin;
		this.make = make;
		this.model = model;
		
		numbersOfCarCreated++;

	}

	public static int getNumbersOfCarCreated() {
		return numbersOfCarCreated;
	}

	public String getVin() {
		return vin;
	}

	public String getMake() {
		return make;
	}

	public String getModel() {
		return model;
	}

}
